#include "include.h"
#include "base\entity.h"

#include "base\entitymanager.h"

#include "compile/debug_memoryleaks"
using namespace base;

Entity::Entity()
: id(Entity::genId())
{
    //ctor
}

Entity::~Entity()
{
    //dtor
}

void Entity::regEntity(EntityManager* pmanager)
{
    //this->id = pmanager->addEntity(this);
}


int Entity::genId()
{
    static unsigned long int idCounter=0;
    return idCounter++;
}
